#include <cstdint>
#include <cstring>
#include "usart.h"
#include "stm32u5xx_hal_uart.h"
//#include "bsp_ft6336.h"
#include "bsp_ft6336.h"
//
// Created by 13236 on 2025/5/12.
//
extern char buf[128];

void HAL_UART_RxCpltCallback(UART_HandleTypeDef *huart)
{
    if (huart->Instance == USART1)
    {
        HAL_UART_Receive_IT(&huart1, (uint8_t *)buf, 1);
    }

}